home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / specials.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-08-19  |  2.8 KB  |  73 lines

  1. /***************************************************************************
  2.                         specials.h - known specials and DCOP calls
  3.                              -------------------
  4.     copyright            : (C) 2004 by Michal Rudolf <mrudolf@kdewebdev.org>
  5.  ***************************************************************************/
  6.  
  7. /***************************************************************************
  8.  *                                                                         *
  9.  *   This program is free software; you can redistribute it and/or modify  *
  10.  *   it under the terms of the GNU General Public License as published by  *
  11.  *   the Free Software Foundation; either version 2 of the License, or     *
  12.  *   (at your option) any later version.                                   *
  13.  *                                                                         *
  14.  ***************************************************************************/
  15.  
  16. #ifndef _HAVE_SPECIALS_H_
  17. #define _HAVE_SPECIALS_H_
  18.  
  19. /** This file contains the global Kommander defined. In case a new Group, method, etc. is
  20. added it MUST be added to the end of the enum lists in order to keep compatibility with the
  21. existing plugins. */
  22.  
  23.  
  24. namespace Group
  25. {
  26.   enum {DCOP, Kommander, String, Array, File, Input, Message, Slots};
  27. }
  28.  
  29. namespace DCOP
  30. {
  31.   enum {addUniqueItem, associatedText, cancel, cellText, clear, checked, children, columnCount, count, currentColumn,
  32.     currentItem, currentRow, execute, findItem, global, insertColumn, insertItem, insertItems, insertRow, 
  33.     item, itemDepth, itemPath, removeColumn, removeItem, removeRow, selection, setAssociatedText, setChecked, 
  34.     setCellText, setCurrentItem, insertTab, setColumnCaption, setEnabled, setGlobal, setMaximum, setPixmap, 
  35.     setRowCaption, setSelection, setText, 
  36.     setVisible, text, type, setCellWidget, cellWidget, setEditable, geometry, hasFocus};
  37. }
  38.  
  39. namespace Kommander
  40. {
  41.   enum {widgetText, selectedWidgetText, null, pid, dcopid, parentPid, debug,
  42.   echo, env, exec, expr, global, i18n, dialog, readSetting, setGlobal, writeSetting, dcop,
  43.   switchBlock, execBegin, forBlock, forEachBlock, ifBlock, comment, createWidget, connect, disconnect, widgetExists, exit, Break, Continue, Return, execBackground};
  44. }
  45.  
  46. namespace Array
  47. {
  48.   enum {values, keys, clear, count, value, remove, setValue, fromString, toString, indexedFromString, indexedToString, indexedRemoveElements, indexedInsertElements};
  49. }
  50.  
  51. namespace String
  52. {
  53.   enum {length, contains, find, findRev, left, right, mid, remove, replace, upper, lower,
  54.   compare, isEmpty, isNumber, section, args, toInt, toDouble, round};
  55. }
  56.  
  57. namespace File
  58. {
  59.   enum {read, write, append, exists};
  60. }
  61.  
  62. namespace Input
  63. {
  64.   enum {color, text, password, value, valueDouble, openfile, openfiles, savefile, directory};
  65. }
  66.  
  67. namespace Message
  68. {
  69.   enum {info, error, question, warning};
  70. }
  71.  
  72. #endif
  73.